#ifndef CLASSB_H
#define CLASSB_H

#include <QThread>
#include <qqueue.h>
#include <classa.h>
class classB : public QThread
{
    Q_OBJECT
public:
    explicit classB(QObject *parent = 0);

    QQueue<int> *queue;
    int data;

    void start()
    {
        QThread::start();
    }

    void stop()
    {
        isFinished();
        quit();

    }

protected:

    virtual void run();

signals:

public slots:

};

#endif // CLASSA_B
